﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Abp.AutoMapper;
using Abp.Runtime.Validation;
using Abp.Extensions;
using LeadThing.AbpZeroTemplate.DisputeInformations;
using System.Collections.Generic;

namespace LeadThing.AbpZeroTemplate.Notifications.Dto
{
    /// <summary>
    /// 消息通知编辑Dto
    /// </summary>
    [AutoMap(typeof(NotificationEditDto))]
    public class NotificationEditDto
    {
        /// <summary>
        ///   用户ID
        /// </summary>
        [DisplayName("用户ID")]
        [Required]
        public List<int> UserIDs { get; set; }

        /// <summary>
        /// 镇ID
        /// </summary>
        public int TownID { get; set; }

        /// <summary>
        /// 区ID
        /// </summary>
        public int AreaID { get; set; }

        /// <summary>
        /// 村ID
        /// </summary>
        public int VillageID { get; set; }

        /// <summary>
        /// 服务端推送消息的地址
        /// </summary>
        public string Url { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        [Required]
        public string Title { get; set; }

        /// <summary>
        /// 消息通知
        /// </summary>
        [DisplayName("备注")]
        //[Required]
        public string Remark { get; set; }
    }
}
